package GUI;

import java.awt.Color;
import java.awt.Dimension;

import java.awt.Font;
import java.awt.Rectangle;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTable;

public class Examen extends JFrame {
  private JLabel jlbexamen = new JLabel();
  private JTable jtExamen = new JTable();
  private JButton jbAgregarTra = new JButton();
  private JButton jbModificarTra = new JButton();

  public Examen() {
    try {
      jbInit();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

  private void jbInit() throws Exception {
    this.getContentPane().setLayout( null );
    this.setSize(new Dimension(518, 500));
    this.setTitle("EXAMEN");
    jlbexamen.setText("EXAMEN");
    jlbexamen.setBounds(new Rectangle(185, 20, 115, 65));
    jlbexamen.setFont(new Font("ALGERIAN", 0, 25));
    jlbexamen.setForeground(new Color(240, 28, 196));
    jtExamen.setBounds(new Rectangle(40, 80, 425, 225));
    jbAgregarTra.setText("AGREGAR");
    jbAgregarTra.setBounds(new Rectangle(345, 375, 105, 50));
    jbAgregarTra.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          jButton1_actionPerformed(e);
        }
      });
    jbModificarTra.setText("MODIFICAR");
    jbModificarTra.setBounds(new Rectangle(215, 375, 115, 50));
    jbModificarTra.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          jButton1_actionPerformed(e);
        }
      });
    this.getContentPane().add(jbModificarTra, null);
    this.getContentPane().add(jbAgregarTra, null);
    this.getContentPane().add(jtExamen, null);
    this.getContentPane().add(jlbexamen, null);
  }

  private void jButton1_actionPerformed(ActionEvent e) {
  }
}
